# Project:	MapReduce
# Author:	gong_libin
# Date:		2016_06_01

CC ?= g++
CFLAGS ?= -g -Wall

MR_ENV ?= $(shell pwd)/../..
MR_BIN ?= $(MR_ENV)/bin
MR_INC ?= $(MR_ENV)/inc
MR_SRC ?= $(MR_ENV)/src

MR_GLIB ?= /usr/lib
MR_GINC ?= /usr/include/MrInc

MR_OBJECTS =					\
	MrUtils.o

all: $(MR_OBJECTS)

$(MR_OBJECTS): %.o: %.cpp
	$(CC) -c $(CFLAGS) -I$(MR_INC) -I$(MR_GINC) $< -o $@

clean:
	rm -rf $(MR_OBJECTS)
